import service from '@/utils/request'

// @Tags LevelThree
// @Summary 创建LevelThree
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LevelThree true "创建LevelThree"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /levelThree/createLevelThree [post]
export const createLevelThree = (data) => {
  return service({
    url: '/levelThree/createLevelThree',
    method: 'post',
    data
  })
}

// @Tags LevelThree
// @Summary 删除LevelThree
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LevelThree true "删除LevelThree"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /levelThree/deleteLevelThree [delete]
export const deleteLevelThree = (data) => {
  return service({
    url: '/levelThree/deleteLevelThree',
    method: 'delete',
    data
  })
}

// @Tags LevelThree
// @Summary 删除LevelThree
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除LevelThree"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /levelThree/deleteLevelThree [delete]
export const deleteLevelThreeByIds = (data) => {
  return service({
    url: '/levelThree/deleteLevelThreeByIds',
    method: 'delete',
    data
  })
}

// @Tags LevelThree
// @Summary 更新LevelThree
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LevelThree true "更新LevelThree"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /levelThree/updateLevelThree [put]
export const updateLevelThree = (data) => {
  return service({
    url: '/levelThree/updateLevelThree',
    method: 'put',
    data
  })
}

// @Tags LevelThree
// @Summary 用id查询LevelThree
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LevelThree true "用id查询LevelThree"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /levelThree/findLevelThree [get]
export const findLevelThree = (params) => {
  return service({
    url: '/levelThree/findLevelThree',
    method: 'get',
    params
  })
}

// @Tags LevelThree
// @Summary 分页获取LevelThree列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取LevelThree列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /levelThree/getLevelThreeList [get]
export const getLevelThreeList = (params) => {
  return service({
    url: '/levelThree/getLevelThreeList',
    method: 'get',
    params
  })
}
